package com.topisv.tms.entity.stock.oustorage;

import java.io.Serializable;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.topisv.tms.entity.IdEntity;

/**
 * 出库箱明细_实体类
 */
@Entity
@Table(name = "outstorage_box_item")
public class OutstorageBoxItem extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private OutstorageBill bill;

	@ManyToOne
	@JoinColumn(name="bill_code",referencedColumnName="billCode")
	public OutstorageBill getBill() {
		return bill;
	}

	public void setBill(OutstorageBill bill) {
		this.bill = bill;
	}

	private String boxCode;
	
	private String sku;
	
	private String goodsName;
	
	private Integer num;
	
	

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getBoxCode() {
		return boxCode;
	}

	public void setBoxCode(String boxCode) {
		this.boxCode = boxCode;
	}
	
}